package com.core.java;

public class StringClass {

	public static void main(String[] args) {
		
		String name = "Chezhiyan";
		String str = new String("Chezhiyan");
		
		if (name.equals(str)){
			System.out.println("match");
		} else System.out.println("not a match");
		

	}

}
